//
//  MainModel.h
//  YiBaoStore
//
//  Created by 毛云河 on 2018/10/18.
//  Copyright © 2018年 小河. All rights reserved.
//

#import "JSONModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface MainModel : JSONModel

@property (nonatomic, copy) NSString<Optional> *barcode;//条形码
@property (nonatomic, copy) NSString<Optional> *countryId;//国家id
@property (nonatomic, copy) NSString<Optional> *describe_good;//描述
@property (nonatomic, copy) NSString<Optional> *gmtModify;//时间
@property (nonatomic, copy) NSString<Optional> *product_id;//商品id
@property (nonatomic, strong) NSArray<Optional> *imageUrlList;
@property (nonatomic, copy) NSString<Optional> *marketPrice;//市场价（划线价）
@property (nonatomic, copy) NSString<Optional> *monthSaleCount;//
@property (nonatomic, copy) NSString<Optional> *price;//
@property (nonatomic, copy) NSString<Optional> *shopCostPrice;//店铺成本价
@property (nonatomic, copy) NSString<Optional> *showImage;//
@property (nonatomic, copy) NSString<Optional> *state;//
@property (nonatomic, copy) NSString<Optional> *title;
@property (nonatomic, copy) NSString<Optional> *totalSaleCount;
@property (nonatomic, copy) NSString<Optional> *weight;
@property (nonatomic, copy) NSString<Optional> *stockAmount;
@property (nonatomic, copy) NSString<Optional> *priceChangeType;

//全部商品和搜索商品多出来字段
@property (nonatomic, strong) NSDictionary<Optional> *countryInfo;
@property (nonatomic, copy) NSString<Optional> *isShopRecommend;
@property (nonatomic, copy) NSString<Optional> *shortTitle;

//上架商品多出来的
@property (nonatomic, strong) NSDictionary<Optional> *attributesMap;
@property (nonatomic, copy) NSString<Optional> *deliveryType;
@property (nonatomic, copy) NSString<Optional> *type;

//自采商品多出来的
@property (nonatomic, strong) NSString<Optional> *increasePurchase;

//活动商品多出来的
@property (nonatomic, strong) NSString<Optional> *promotionPrice;
@property (nonatomic, strong) NSString<Optional> *description;

@end

@interface BannersModel : JSONModel

@property (nonatomic, copy) NSString<Optional> *clickUrl;
@property (nonatomic, copy) NSString<Optional> *imageUrl;

@end

@interface NoticesModel : JSONModel

@property (nonatomic, copy) NSString<Optional> *detailUrl;
@property (nonatomic, copy) NSString<Optional> *noticeID;
@property (nonatomic, copy) NSString<Optional> *tag;
@property (nonatomic, copy) NSString<Optional> *title;

@end

@interface TemplatesModel : JSONModel

@property (nonatomic, copy) NSString<Optional> *icon;
@property (nonatomic, copy) NSString<Optional> *previewImageUrl;
@property (nonatomic, copy) NSString<Optional> *selectIcon;
@property (nonatomic, copy) NSString<Optional> *templateKey;
@property (nonatomic, copy) NSString<Optional> *title;
@property (nonatomic, copy) NSString<Optional> *ID;




@end

@interface SharkShoppingModel : JSONModel

@property (nonatomic, copy) NSString<Optional> *ID;
@property (nonatomic, strong) NSArray<Optional> *imageUrlList;
@property (nonatomic, copy) NSString<Optional> *isPlatForm;
@property (nonatomic, copy) NSString<Optional> *marketPrice;
@property (nonatomic, copy) NSString<Optional> *price;
@property (nonatomic, copy) NSString<Optional> *shopCostPrice;
@property (nonatomic, copy) NSString<Optional> *showImage;
@property (nonatomic, copy) NSString<Optional> *suggestPrice;
@property (nonatomic, copy) NSString<Optional> *title;

@end


NS_ASSUME_NONNULL_END
